package com.jlkf.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.jlkf.dao.TblOrderMapper;
import com.jlkf.pojo.TblOrder;
import com.jlkf.service.OrderService;
import com.platform.server.response.response.pojo.ReturnData;

@Service
public class OrderServiceImpl implements OrderService {
	@Autowired
	private TblOrderMapper tblOrderMapper;
	
	/**
	 * 订单列表
	 */
	@Override
	public List<TblOrder> getListByType(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return tblOrderMapper.selectByType(map);
	}

	/**
	 * 会员缴费统计
	 */
	@Override
	public List<TblOrder> getVipStatistics(Map<String, Object> map) {
		// TODO Auto-generated method stub
		return tblOrderMapper.selectVipStatistics(map);
	}

}
